Skip to main content

ilrremovallogs

Table: ilrremovallogs

The ilrremovallogs table records removal or status change events for ILR (Ice-Lined Refrigerator) units.
It is used to track ILR decommissioning, status updates, and associated user actions for audit purposes.


Columns

Column NameData TypeConstraintsDescription
idbigint(20)NOT NULL, AUTO_INCREMENT, PRIMARY KEYUnique identifier for each removal log record
createdDatedatetimeNULLTimestamp when the log was created
lastEditedDatedatetimeNULLTimestamp when the log was last edited
statusvarchar(255)NULLStatus description for the ILR removal or event
createdByUserIdint(11)NULLID of the user who created the log
lastEditedByUserIdint(11)NULLID of the user who last edited the log
ilr_idbigint(20)NULLID of the ILR unit associated with the log (references ilr.id)

Indexes

  1. PRIMARY - Primary key on id
  2. FKFC16388CF2F45055 - Index on ilr_id

Foreign Key Relations

  1. FKFC16388CF2F45055ilr.id
    • Links the removal log to the specific ILR unit

Usage Notes

  • Tracks the lifecycle and status changes of ILR units, including removals and updates.
  • createdByUserId and lastEditedByUserId provide an audit trail of actions performed on ILR units.
  • Useful for cold chain monitoring and ensuring accountability when ILRs are decommissioned or replaced.
  • Indexed on ilr_id for efficient retrieval of all removal events for a given ILR.